package com.yylany.bo;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.math.BigDecimal;

/**
 * Description: pinyougou
 *
 * @author <a href="mailto:17777502615@163.com">yaoyonglong</a>
 * @date 2018/12/20
 * @since 1.0.0
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class GoodsData {

    /**
     * "SKUID"
     */
    @JsonProperty("id")
    private Integer id;
    /**
     * 商品名称
     */
    @JsonProperty("goods_name")
    private String spuName;
    /**
     * 价格
     */
    @JsonProperty("price")
    private BigDecimal price;

    /**
     * "商品lOGO(130x130)"
     */
    @JsonProperty("midlogo")
    private String logo;

    /**
     * 评论数
     */
    @JsonProperty("comment_count")
    private int commentCount;


}
